#ifndef __IINDEX_BUFFER_H__
#define __IINDEX_BUFFER_H__

class IMIndexBuffer
{
public:

	IMIndexBuffer() {}
	virtual ~IMIndexBuffer() {}

	virtual void  destroy()              = 0;
	virtual int   GetIndexCount()        = 0;
	virtual int   GetSize()              = 0;
    virtual int   GetPrimCount()         = 0;

	virtual void SetPrimType( unsigned int InPrimType ) = 0;
	virtual unsigned int GetPrimType(void)              = 0;
	

	virtual void* GetData()              = 0;
		
	template<class T>
	T GetAt( int nIndex ) { return T(); }

};

#endif